import { memo } from "react";
import {renderRoutes } from "react-router-config";
import routers from "router";
import HAppHeader from "components/app-header";
import HAppFooter from "components/app-footer";
import store from "store";
import {Provider } from "react-redux";
export default  memo (
  function App () {
    return (
      <Provider store={store}>
      <div id={"app"}>
        <HAppHeader/>
        {renderRoutes(routers)}
        <HAppFooter/>
      </div>
      </Provider>
    )
  }
)
